using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WindowsApplication1
{
    public partial class WindowForm : Form
    {
        public WindowForm()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            int num1 = 5, num2 = (1), sum /*= num1 + num2*/;
            sum = num1 + num2;
            
            MessageBox.Show("The sum of " + num1.ToString() + " and " + num2.ToString() + " is " + sum.ToString());
            
        }

        private void WindowForm_Load(object sender, EventArgs e)
        {

        }
    }
}